package com.clusterswisdom.horn.api.tmall.action.scitem.model;

import java.util.LinkedHashMap;

public class Store extends LinkedHashMap<String, ScItem>{

	private static final long serialVersionUID = 7507595927386582236L;
	
	private String code;

	public Store(String storeCode) {
		this.code = storeCode;
	}

	public String getCode() {
		return code;
	}

	public void addScItem(String itemId, Long quantity) {
		put(itemId, new ScItem(this, itemId, quantity));
	}
}
